<template>
  <div>
    <div class="payment">
      <div class="orderid">
        <div>
          应付金额：
          <span>165.5</span>( 在线支付 )
        </div>
        <div>
          订单编号：
          <em>425954156947</em>
        </div>
      </div>
      <div>支付平台</div>
    </div>
    <div class="plat">
      <div class="radioinp">
        <el-radio v-model="radio" label="1"></el-radio>
        <div>
          <img src="../assets/img/zhifubao.jpg" alt />
        </div>
      </div>
      <div class="radioinp">
        <el-radio v-model="radio" label="2"></el-radio>
        <div>
          <img src="../assets/img/weixin.jpg" alt />
          <span>微信支付</span>
        </div>
      </div>
      <div class="radioinp">
        <el-radio v-model="radio" label="3"></el-radio>
        <div>
          <img src="../assets/img/Union.jpg" alt />
          <span>银联支付</span>
        </div>
      </div>
      <div class="radioinp">
        <el-radio v-model="radio" label="4"></el-radio>
        <div>
          <img src="../assets/img/pay.jpg" alt />
          <span>
            余额支付(￥
            <span>500</span>)
          </span>
        </div>
      </div>
    </div>
    <div class="alipay">
      <div class="paylyj">
        <div class="diannao">
          <div class="imgtop">使用电脑支付</div>
          <img src="../assets/img/diannao.jpg" alt />
          <br />
          <el-button type="text" class="dialog" @click="outerVisible = true">立即支付</el-button>
        </div>
        <el-dialog
          title="外层 Dialog"
          :visible.sync="outerVisible"
          id="dialog-footer"
          width="660px"
          :show-close="false"
        >
          <el-dialog width="660px" title="修改地址" :visible.sync="innerVisible" append-to-body></el-dialog>
          <div class="nosend">
            <i class="iconfont icon-jinggao1"></i>
            <div class="delgood">
              <p>新疆哈密瓜（8kg装）、葡萄（150g）</p>
              <div>
                无法送到指定区域，请到购物车中删除商品
                或修改配送地址后重新提交订单
              </div>
            </div>
          </div>
          <div slot="footer" class="dialog-footer">
            <el-button id="change" @click="outerVisible = false">返回购物车修改</el-button>
            <el-button id="parok" type="primary" @click="innerVisible = true">修改配送区域</el-button>
          </div>
        </el-dialog>
      </div>
      <span>或</span>
      <div class="diannaoright">
        <div class="imgtop">使用支付宝钱包扫一扫付款</div>
        <img src="../assets/img/erweima.jpg" alt />
      </div>
    </div>
    <div class="wechat">
      <img class="shouji" src="../assets/img/shouji.jpg" alt />
      <span></span>
      <div class="diannaoright">
        <div class="imgtop">使用支付宝钱包扫一扫付款</div>
        <img src="../assets/img/erweima.jpg" alt />
      </div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
  data() {
    return {
      radio: "1",
      dialogVisible: false,
      outerVisible: false,
      innerVisible: false
    };
  },
  methods: {}
};
</script>
<style>
.nosend {
  display: flex;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
}
em {
  font-style: normal;
}
.nosend i {
  font-size: 100px;
  color: #f08200;
  margin-right: 20px;
}
.delgood > p {
  font-size: 18px;
  color: #f08200;
}
.delgood > div {
  font-size: 16px;
  color: #666;
}
.delgood {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#parok {
  background-color: #498e3d;
  border: none;
  margin-right: 30px;
}
#change {
  background-color: #f08200;
  color: #fff;
  border: none;
}
/* 弹窗 */

#dialog-footer .el-dialog__footer {
  text-align: center;
}
.paylyj h4 {
  font-size: 30px;
  color: #f08200;
  text-align: center;
  padding: 50px 0px;
}
.paylyj p {
  text-align: center;
  font-size: 18px;
  color: #666;
  /* margin-bottom: 40px; */
}
.paylyj > .dialog {
  line-height: 2.5em;
  padding: 0px 2em;
  border-radius: 4px;
}
.paylyj .diannao {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paylyj .diannao > .el-button {
  background: #f08200 !important;
}
.dialog span {
  color: #fff;
  white-space: nowrap;
}
.imgtop {
  padding-bottom: 1.5rem;
}
.diannaoright {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shouji {
  width: 10rem;
}
.wechat span {
  display: inline-block;
  width: 1px;
  background: #e6e6e6;
}
.alipay,
.wechat {
  border: 1px solid #e6e6e6;
  display: flex;
  justify-content: center;
  padding: 60px;
  margin-bottom: 20px;
}
.alipay {
  align-content: center;
}
.wechat {
  align-content: stretch;
}
.paylyj button {
  font-size: 18px;
  width: 165px;
}
.alipay .diannao img {
  width: 10rem;
}
.alipay img {
  width: 12rem;
}
.wechat .diannaoright img {
  width: 12rem;
}
.wechat .shouji {
  width: 13rem;
}
.alipay > span {
  margin: 0px 10rem;
  line-height: 10rem;
}
.wechat > span {
  margin: 0px 10rem 0px 9rem;
}
.plat {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
}
.radioinp .el-radio {
  margin-right: 1rem;
}
.radioinp .el-radio__label {
  display: none;
}
.radioinp div {
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
}
.radioinp div > span {
  padding-left: 0.5rem;
}
.radioinp img {
  height: 1.5rem;
}
.radioinp {
  display: flex;
  align-items: center;
  padding-right: 1rem;
}
.payment {
  border-bottom: 1px solid #e6e6e6;
  font-size: 18px;
  color: #666;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
.orderid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}
.orderid span {
  font-size: 20px;
  color: #d20a11;
  margin-right: 0.5em;
}
.orderid > div:last-of-type {
  font-size: 16px;
}
</style>